package com.campusbackend.service;

import com.campusbackend.entity.CompetitionExperiences;
import com.campusbackend.entity.vo.CompetitionCreateVO;
import com.campusbackend.entity.vo.CompetitionUpdateVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 参赛经历表 服务类
 * </p>
 *
 * @author yezi
 * @since 2025-07-24
 */
public interface CompetitionExperiencesService extends IService<CompetitionExperiences> {

    /**
     * 根据教师ID获取参赛经历列表
     * @param teacherId 教师ID
     * @return 参赛经历列表
     */
    List<CompetitionExperiences> getTeacherCompetitions(Long teacherId);

    /**
     * 添加教师参赛经历
     * @param teacherId 教师ID
     * @param createVO 创建VO
     * @return 操作结果
     */
    String addTeacherCompetition(Long teacherId, CompetitionCreateVO createVO);

    /**
     * 更新教师参赛经历
     * @param teacherId 教师ID
     * @param updateVO 更新VO
     * @return 操作结果
     */
    String updateTeacherCompetition(Long teacherId, CompetitionUpdateVO updateVO);

    /**
     * 删除教师参赛经历
     * @param teacherId 教师ID
     * @param competitionId 参赛经历ID
     * @return 操作结果
     */
    String deleteTeacherCompetition(Long teacherId, Long competitionId);

    /**
     * 根据学生ID获取参赛经历列表（为以后学生端扩展预留）
     * @param studentId 学生ID
     * @return 参赛经历列表
     */
    List<CompetitionExperiences> getStudentCompetitions(Long studentId);
} 